Expand description

Hirola API Documentation

Hirola is based on Marple.

Features

  • dom (default) - Enables rendering templates to DOM nodes. Only useful on wasm32-unknown-unknown target.
  • ssr - Enables rendering templates to static strings (useful for Server Side Rendering / Pre-rendering).
  • serde - Enables serializing and deserializing Signals and other wrapper types using serde.

Modules

Easing functions.

Iteration utility components for dom.

Abstraction over a rendering backend.

Definition of cloned! macro. Proc-macros are defined in the separate hirola-macros crate.

References to nodes in templates.

The maple prelude.

Reactive primitives.

Trait for describing how something should be rendered into DOM nodes.

Internal utilities for Maple.

Macros

Utility macro for cloning all the arguments and expanding the expression.

Structs

Functions

Render a TemplateResult into the DOM. Alias for render_to with parent being the <body> tag.

Render a TemplateResult under a parent node. For rendering under the <body> tag, use render() instead.

Render a TemplateResult into a static String. Useful for rendering to a string on the server side.

Helper for making async calls

Type Definitions